package com.bw.service;

import com.bw.bean.Mov;
import com.bw.mapper.MovMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    MovMapper movMapper;

    @Override
    public List<Mov> get1() {
        return movMapper.get1();
    }

    @Override
    public List<Mov> get2() {
        return movMapper.get2();
    }

    @Override
    public List<Mov> get3(String mname1) {
        return movMapper.get3(mname1);
    }

    @Override
    public List<Mov> get4(String name1) {
        return movMapper.get4(name1);
    }

    @Override
    public List<Mov> get5(String date1, String date2) {
        return movMapper.get5(date1,date2);
    }
}
